package com.example.designmodule.chain;

/**
 * @Author: Dijah
 * @Date: 2023/3/4 11:19
 * @Desc:
 */
public class code5_GeneralManager extends code2_Handler{

    public code5_GeneralManager(){
        super(code2_Handler.NUM_SEVEN);
    }

    @Override
    protected void handleLeave(code1_LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天," + leave.getContent() + "。");
        System.out.println("总经理审批：同意。");
    }
}
